package com.wash.framework.page;

import java.io.Serializable;
import java.util.List;

public class Page<T>
  implements Serializable
{
  private static final long serialVersionUID = 1L;
  private long total = 0L;

  private List<T> rows = null;

  public Page()
  {
  }

  public Page(long total, List<T> rows)
  {
    this.total = total;
    this.rows = rows;
  }

  public long getTotal()
  {
    return this.total;
  }

  public void setTotal(long total)
  {
    this.total = total;
  }

  public List<T> getRows()
  {
    return this.rows;
  }

  public void setRows(List<T> rows)
  {
    this.rows = rows;
  }
}